package cn.iocoder.yudao.module.famous.doctor.controller.admin.forum.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 论坛表 Excel VO
 *
 * @author Test1
 */
@Data
public class FamForumExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("论坛标题")
    private String title;

    @ExcelProperty("热点话题标识")
    private String topicIds;

    @ExcelProperty("论坛内容")
    private String content;

    @ExcelProperty("图片路径")
    private String imageUrl;

    @ExcelProperty("访问量")
    private Long visitCount;

    @ExcelProperty("收藏数量")
    private Long collectCount;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("回复量")
    private Long replyCount;

    @ExcelProperty(value = "论坛类型", converter = DictConvert.class)
    @DictFormat("fam_speak_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long speakType;

    @ExcelProperty("病情筛选")
    private String illnessIds;

    @ExcelProperty(value = "是否置顶 ", converter = DictConvert.class)
    @DictFormat("infra_boolean_int") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long isTop;

    @ExcelProperty(value = "审核状态 ", converter = DictConvert.class)
    @DictFormat("infra_boolean_int") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Byte audit;

}
